/* ==========================================================================
   Color Variables (Defined at Root Level for Easy Theme Management)
   ========================================================================== */
:root {
  --solv-white-text: #FFFFFF;
  --solv-dark-text: #04201B;
  --solv-primary-green: #05DD4D;
  --solv-secondary-green: #0A7B6B;
  --solv-hr-grey: #888B8B;
  --solv-dark-green: #01332B;
  --solv-green-teal: #BFFDE3;
}

/* ==========================================================================
   Base Typography and Global Resets
   ========================================================================== */
body {
  font-size: 17px !important;
  margin: 0;
  font-family: 'Solve Pro', Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: var(--solv-dark-green);
}

p {
  font-size: 17px;
  font-weight: 400;
  line-height: 150%;
}

li {
  font-size: 17px;
  font-weight: 400;
  line-height: 150%;
}

a {
  color: var(--solv-primary-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}

nav .container {
  display: flex;
  align-items: center;
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  nav .container {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Alert Banner Styles
   ========================================================================== */
.alert-banner {
  background-color: var(--solv-green-teal);
  border: 1px solid var(--solv-dark-green);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

.alert-banner a {
  color: var(--solv-secondary-green);
}

@media (max-width: 600px) {
  .alert-banner {
    flex-direction: column;
    font-size: 0.95rem;
    padding: 15px;
  }
}

/* ==========================================================================
   Hero Banner Section
   ========================================================================== */
.solv-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 400;
  background: url('https://images.engage.solventum.com/EloquaImages/clients/Solventum/%7Bad8eeac8-d136-4545-8a18-83ec3181ce31%7D_Dental_Solutions_hero_410x1440.png') no-repeat center center;
  background-size: cover;
  color: var(--solv-white-text);
}

.solv-hero .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  height: 100%;
}

.hero-content {
  max-width: 600px;
  background-color: rgba(1, 51, 43, 0.6);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: left;
  position: absolute;
  top: 50px;
  left: 20px; /* Aligns with container padding */
}

.hero-content h1 {
  margin: 0;
  font-size: 2.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .solv-hero {
    aspect-ratio: auto;
    height: 250px;
    padding: 1rem;
  }

  .hero-content {
    position: static;
    margin-top: 60px;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Titling Section
   ========================================================================== */
.solv-titling {
  display: flex;
  flex-direction: column;
  padding: 0 57px 0 0;
  max-width: 1000px;
  margin: 0 auto;
}

.solv-titling h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 100%;
  color: #19191A;
  margin-bottom: 0.5rem;
}

.solv-hr-primary {
  border: none;
  height: 0;
  border-bottom: 1px solid var(--solv-primary-green);
  margin: 0;
}

/* ==========================================================================
   Content Columns (Two-Column Layout)
   ========================================================================== */
.solv-content-section {
  padding: 1rem 0;
  max-width: 1050px;
  margin: 0 auto;
  box-sizing: border-box;
}

.solv-columns {
  display: flex;
}

.solv-col-left {
  flex: 1;
  padding-right: 1rem;
}

.solv-col-right {
  flex: 1;
  padding-left: 1rem;
}

p.right-col {
margin-left: 25px;
margin-right: 25px;
}

@media (max-width: 768px) {
  .solv-columns {
    flex-direction: column;
  }

  .solv-col-left,
  .solv-col-right {
    padding: 1rem 0 0;
    margin: 0 10px;
  }
}


/* ==========================================================================
   Content Column (One-Column Layout)
   ========================================================================== */
.solv-col-center {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* Responsive: add 10px left/right padding on small screens */
@media (max-width: 600px) {
  .solv-col-center {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* ==========================================================================
   Footer Base
   ========================================================================== */
.solv-footer {
  background-color: var(--solv-dark-green);
  color: var(--solv-white-text);
  padding: 30px 0;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Footer Top Section (Logo Area)
   ========================================================================== */
.solv-footer-top {
  display: flex;
  flex-direction: column;
}

.solv-img-footer-container {
  text-align: left;
}

.solv-img-footer-container img {
  width: 220px;
  height: auto;
  padding: 0;
}

/* ==========================================================================
   Footer Columns Layout
   ========================================================================== */
.solv-columns-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0;
}

.solv-columns-container-mobile {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .solv-columns-container-mobile {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .solv-column {
    flex: 1;
    min-width: 250px;
  }
}

.solv-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .solv-column {
    align-items: flex-start;
  }
}

.solv-column p {
  margin: 0;
}

.solv-column-heading {
  font-weight: bold;
  margin-bottom: 10px;
}

/* ==========================================================================
   Tagline Style
   ========================================================================== */
#tagline-label {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--solv-white-text);
}

/* ==========================================================================
   Social Column Styles (Alignment and Icons)
   ========================================================================== */
.solv-column.social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 0;
  margin: 0;
}

#follow-us-label {
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  #follow-us-label {
    text-align: right;
  }
}

/* Social icon container */
.solv-social-icons {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .solv-social-icons {
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
  }
}

/* Social icon individual links */
.solv-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--solv-white-text);
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.solv-social-icons a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* ==========================================================================
   Footer Bottom Section (Legal Links and Layout)
   ========================================================================== */
.solv-footer-lower-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  gap: 10px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

@media (min-width: 768px) {
  .solv-footer-lower-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

#legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  #legal-links {
    justify-content: flex-start;
  }
}

.solv-footer-lower-section a {
  margin-right: 6px;
  color: var(--solv-primary-green);
  font-size: 12px;
}

   /* ==========================================================================
   ELQ Form Element Resets & Inheritance
   ========================================================================== */

/* Apply box-sizing to all elements within .elq-form */
.elq-form *, 
.elq-form *::before, 
.elq-form *::after {
  box-sizing: border-box;
}

/* Inherit global typography and reset margins */
.elq-form .elq-item-input,
.elq-form .elq-item-select,
.elq-form .elq-item-textarea {
  font: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-top: 5px;
  width: 100%;
  height: 44px;
  padding: 1% 1%;
  border: 1px solid #6D6F70;
  border-radius: 4px;
  background-color: #fff;
  color: var(--solv-dark-text);
  appearance: none;
}

/* Normalize text-transform for select dropdowns */
.elq-form .elq-item-select {
  text-transform: none;
}

/* Ensure buttons and other inputs inherit font styling */
.elq-form button,
.elq-form input,
.elq-form select,
.elq-form textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

select {
  /* Existing styles */
  margin-bottom: 32px;
  max-width: 100%;
  width: 100%;
  height: 44px;
  padding: 1% 1%;

  /* Remove native arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Border and radius */
  border: 1px solid #6D6F70;
  border-radius: 4px;

  /* Add right padding so text doesn't overlap arrow */
  padding-right: 2.5rem;

  /* Background: arrow icon on right */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%236D6F70' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 28px 28px;

  background-color: #fff;
  color: var(--solv-dark-text);
}

input[type='submit'] {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--solv-secondary-green);
  height: 40px;
  width: fit-content;
  min-width: 110px;
  padding: 8px 24px 32px; /* combined padding-bottom */
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--solv-white-text);
  gap: 8px;
  position: relative;
  text-align: center;
  text-decoration: none;
  border-radius: 80px;
  border: 2px solid var(--solv-secondary-green);
  background: var(--solv-secondary-green);
}

/* ==========================================================================
   Form Section Styling: Dropdowns
   ========================================================================== */

/* Fixes for overflowing dropdowns in some browsers */
select:not(:-internal-list-box) {
  overflow: visible !important;
}

/* ==========================================================================
   Form Error Messages
   ========================================================================== */
input.invalid,
select.invalid {
  border: 2px solid red !important;
}

.error-message {
  color: red;
  font-size: 0.75rem; 
  margin-top: 4px;
}


/* ==========================================================================
   Progressive Profiling
   ========================================================================== */

.hidden {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}